<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <title>左中右布局 左右固定中间自适应</title>
</head>
<body>
    <style>
        *{padding: 0;margin: 0}
        html,body{
            height: 100%;
        }
        .wrapper {
            background-color: #333;
            height: 100%;
            min-width: 1024px;
        }

        .left{
            background-color: red;
            width: 200px;
            height: 100%;
            float: left;
        }

        .middle {
            background-color: yellow;
            height: 100%;
            /*margin: 0 210px;*/
        }
        .left
        .right {
            background-color: blue;
            width: 200px;
            height: 100%;
            float: right;
        }
    </style>
    <!--div.wrapper>div.left+div.middle+div.right 快捷方式-->
    <div class="wrapper">
        <div class="left">我是左边</div>
        <div class="right">我是右边</div>
        <div class="middle">我是中间</div>
    </div>
</body>
</html>